import { request } from "@/utils/service"

/** 交接人审核 */
export function handoverUserExamineQuit(data: any) {
  return request<any>({
    url: "/staffQuit/handoverUserExamineQuit",
    method: "post",
    data
  })
}
/** 部门审核,总监审核 */
export function departmentExamineQuit(data: any) {
  return request<any>({
    url: "/staffQuit/departmentExamineQuit",
    method: "post",
    data
  })
}

/** 交接人填写关闭说明 */
export function handoverUserFillClose(data: any) {
  return request<any>({
    url: "/staffQuit/handoverUserFillClose",
    method: "post",
    data
  })
}

/** 申请人验证并关闭 */
export function quitUserVerifyClose(data: any, id: string) {
  return request<any>({
    url: "/staffQuit/quitUserVerifyClose?id=" + id,
    method: "get",
    data
  })
}
